#php socket(服务端与客户端)demo| 来源: 网络整理| 查看: 265
php socket(服务端与客户端)demo完整演示:
环境是:【phpstydy,PHP版本7.3.4nts】,一定要开启【sockets】服务。
服务器【index.php】(源码复制即可):